package top.oool.service;

/**
 * Created by IntelliJ IDEA.
 * User: kui.zhang
 * Date: 2019/4/22 13:04
 * Email:kui.zhang@chinaredstar.com
 */
public class PrintLogVo {
    private String logName;
    private String logValue;
    private Long logId;

    public PrintLogVo(String logName, String logValue, Long logId) {
        this.logName = logName;
        this.logValue = logValue;
        this.logId = logId;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"PrintLog\":PrintLog")
                .append(",");
        sb.append("\"logName\":\"")
                .append(logName).append('\"');
        sb.append(",\"logValue\":\"")
                .append(logValue).append('\"');
        sb.append(",\"logId\":")
                .append(logId);
        sb.append('}');
        return sb.toString();
    }
}
